package com.example.demo.dao;

import com.example.demo.pojo.Business;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Component
@Mapper
public interface businessMapper {
    public List<Business> selectAllBusiness();
    public Business selectBusinessByid(int id);
    public void addBusiness(Business business);
    public void updateBusiness(Business business);
    public void deleteBusiness(int id);
    public int bus_num();
    public void call_checkbusiness(int business_id);

}
